#include <thread>
#include "rtc_client.h"
#include <memory>

std::string http_uri = "http://139.224.198.207:8080";
std::string room_id = "175";

void test() {
  auto client = std::make_unique<ohosrtc::RTCClient>();
  ohosrtc::RoomConnectionParameters parameters;
  parameters.room_url = http_uri;
  parameters.room_id = room_id;
  client->Connect(parameters);
  std::this_thread::sleep_for(std::chrono::seconds(1000000));
}

int main() {
  std::thread thread(&test);
  thread.join();
  return 0;
}
